<?php

namespace App\Models;

class UnionOrder extends Model
{
    protected $table = 'pay_union_order';
    protected $primaryKey = 'union_order_id';
    public $incrementing = false;
    public $timestamps = false;
    protected $guarded = ['union_order_id'];

    public static function getOneOrder(array $param)
    {
        return self::where($param)->first();
    }
}
